
//***********************************************
//
//      Filename: MonetaryCoin.java
//
//        Author: wwb
//        Mails: 1274860621@qq.com
//        Create: 2018-04-21 11:55:33
// Last Modified: 2018-04-21 11:55:33
//***********************************************
public class MonetaryCoin extends Coin {
    private int Face;
    private int moneyvalue;


    public MonetaryCoin(int moneyvalue) {


        this.moneyvalue = moneyvalue;
    }

    public int getFace() {
        if (face == 0)
            Face = moneyvalue;

        else
            Face = 0;
return Face;
    }
}
